package artibella.media.video 
{
	import artibella.loaders.ILoaderAgent;
	
	/**
	 * ...
	 * @author pbordachar
	 */
	
	public class VideoConnectorParameters
	{
		private var _server:String = null;
		private var _buffered:int = 2;
		private var _checked:Boolean = false;
		
		private var _onStreamReady:Function = null;
		
		private var _agent:ILoaderAgent = null;
		
		public function VideoConnectorParameters(){ }
		
		// - - -
		
		public function get server():String
		{
			return _server;
		}

		public function set server( s:String ):void
		{
			_server = s;
		}
		
		// - - -
	
		public function get buffered():int
		{
			return _buffered;
		}

		public function set buffered( d:int ):void
		{
			_buffered = d;
		}
		
		// - - -
		
		public function get checked():Boolean
		{
			return _checked;
		}
		
		public function set checked( b:Boolean ):void
		{
			_checked = b;
		}
		
		// - - -
		
		public function get onStreamReady():Function
		{
			return _onStreamReady;
		}
		
		public function set onStreamReady( f:Function ):void
		{
			_onStreamReady = f;
		}
		
		
		// - - -
		
		public function get agent():ILoaderAgent
		{
			return _agent;
		}
		
		public function set agent( a:ILoaderAgent ):void
		{
			_agent = a;
		}
	}
}
